import request from '@/utils/request';
import { User} from './types/userInfo';
import { Wrapper }  from './types/result';
/**
 * 获取用户信息
 */
export function getUserInfo () {
  return request<Wrapper<User>>({
    url: '/api/system/userInfo',
    method: 'GET'
  })
}